
package za.ac.cput.peterjohn.DesignPatternPrincipals.Behavioral;

import za.ac.cput.peterjohn.DesignPatternPrincipals.Behavioral.Interpreter.Model.Expression;
import za.ac.cput.peterjohn.DesignPatternPrincipals.Behavioral.Interpreter.Model.Number;

public class NumberFactory
{
    public static Expression createNumber(int i) 
    {
        Expression ex = new Number(i);
        return ex;
    } 
}